/**
 *
 */
package com.naiterui.ehp.bs.search.exception;

import com.naiterui.ehp.bp.support.exception.BaseExceptionCodes;

/**
 * 搜索异常
 * 范围：1201xxxx
 * 规则：[1-2]大类 [3-4]业务 [5-6]模块 [7-8]顺序错误码
 *
 * @author guoyongxiang
 */
public interface ExceptionCodes extends BaseExceptionCodes {

    /**
     * 索引操作失败
     */
    int INDICES_OPERATION_FAILED = 12010100;
    /**
     * 索引创建失败
     */
    int INDICES_CREATE_FAILED = 12010101;
    /**
     * 索引查询失败
     */
    int INDICES_GET_FAILED = 12010102;
    /**
     * 索引别名创建失败
     */
    int INDICES_ALIAS_CREATE_FAILED = 12010103;
    /**
     * 索引映射创建失败
     */
    int INDICES_MAPPINGS_CREATE_FAILED = 12010104;
    /**
     * 索引删除失败
     */
    int INDICES_DEL_FAILED = 12010105;
    /**
     * 文档操作失败
     */
    int INDEX_OPERATION_FAILED = 12010200;
    /**
     * 搜索操作异常
     */
    int SEARCH_OPERATION_FAILED = 12010300;
}
